package com.nebula.upms.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nebula.upms.model.po.UpmsPrivilegePO;
import com.nebula.upms.model.po.UpmsPrivilegePOExample;
import com.nebula.upms.service.PrivilegeService;
import com.nebula.upms.support.dao.CommDAO;

@Service
public class PrivilegeServiceImpl implements PrivilegeService {
	@Autowired
	private CommDAO commDAO;
	
	@Override
	public List<UpmsPrivilegePO> getPrivilegeList() {
		UpmsPrivilegePOExample example=new UpmsPrivilegePOExample();
		List<UpmsPrivilegePO> list=this.commDAO.initDAO().selectByExample(example);
		return list;
	}

}
